package com.love.marriage.cloud.service;

import com.github.binarywang.wxpay.exception.WxPayException;

import java.util.Map;

/**
 * author: majf
 * createDate: 2025/3/2 15:31
 * description: 微信提现服务
 * version: 1.0.0
 */
public interface WechatWithdrawService {

    Map<String, String> withdrawToWeChat(String openId, String partnerTradeNo, int amount, String description) throws WxPayException;

    Map<String, String> queryTransferByOutBillNo(String outBillNo) throws WxPayException;

    Boolean withdrawToWeChatNotify(String serial, String signature, String timestamp, String nonce, String requestBody) throws WxPayException;

    Map<String, String> cancelTransferByOutBillNo(String outBillNo) throws WxPayException;
}
